package tmproject.hlhj.fhp.tmvote.beans;

import java.util.List;

/**
 * Created by Never Fear   on 2018\8\7 0007.
 * Never More....
 */

public class SearchBean {

    /**
     * code : 200
     * message : 获取成功
     * data : {"list":[{"competitor_id":8,"competitor_name":"测试","avatar":"/application/hlhj_goddess_vote/upload/image/20180810/d3f582e36624f808b6c6f320f528fd7e.jpg","profile":"不知道写什么好，随便打的","activity_id":5,"ballot":5},{"competitor_id":10,"competitor_name":"测试123","avatar":"/application/hlhj_goddess_vote/upload/image/20180810/d3f582e36624f808b6c6f320f528fd7e.jpg","profile":"暂无简介","activity_id":5,"ballot":58}]}
     */

    private int code;
    private String message;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<ListBean> list;

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * competitor_id : 8
             * competitor_name : 测试
             * avatar : /application/hlhj_goddess_vote/upload/image/20180810/d3f582e36624f808b6c6f320f528fd7e.jpg
             * profile : 不知道写什么好，随便打的
             * activity_id : 5
             * ballot : 5
             */

            private int competitor_id;
            private String competitor_name;
            private String avatar;
            private String profile;
            private int activity_id;
            private int ballot;

            public int getCompetitor_id() {
                return competitor_id;
            }

            public void setCompetitor_id(int competitor_id) {
                this.competitor_id = competitor_id;
            }

            public String getCompetitor_name() {
                return competitor_name;
            }

            public void setCompetitor_name(String competitor_name) {
                this.competitor_name = competitor_name;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getProfile() {
                return profile;
            }

            public void setProfile(String profile) {
                this.profile = profile;
            }

            public int getActivity_id() {
                return activity_id;
            }

            public void setActivity_id(int activity_id) {
                this.activity_id = activity_id;
            }

            public int getBallot() {
                return ballot;
            }

            public void setBallot(int ballot) {
                this.ballot = ballot;
            }
        }
    }
}
